package org.simple.service;

import org.simple.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import org.simple.index.doc.EsCourse;
import org.simple.query.CourseQuery;
import org.simple.util.AjaxResult;
import org.simple.util.PageList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zj
 * @since 2020-02-20
 */
public interface ICourseService extends IService<Course> {

    PageList<Course> selectpageList(CourseQuery query);

    AjaxResult onLine(Long[] ids);

    AjaxResult offLine(Long[] ids);

    PageList<EsCourse> queryCourses(CourseQuery query);
}
